# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-listparser
pkgver=0.18
pkgrel=2
pkgdesc="Parse OPML, FOAF, and iGoogle subscription lists"
url="https://github.com/kurtmckee/listparser"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3"
depends="py3-six py3-requests"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/l/listparser/listparser-$pkgver.tar.gz"
builddir="$srcdir/listparser-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3f76e1f9ac2011a4ad800332d838ea0e10e445cddead7829d049067534a60ce5c5180d49411108ae0769141cb55cd272a8945261d20e442ba06a84515867a80e  listparser-0.18.tar.gz"
